<div class="container-fluid">
    <div class="row">
        <div class="span10">
            <form method="post" action="upload" enctype="multipart/form-data">
              <h3>Upload Profile Picture</h3>
              <fieldset>
                <div class="control-group">
                  <label for="exampleInputFile" class="control-label">Profile picture:</label>
                  <div class="controls">
                      <input type="file" id="exampleInputFile" name="userfile">
                      <font class="strerr"><?=isset($upload['error']) ? @$upload['error']:""?></font>
                  </div>
                  <p><i>Ukuran maksimal 200kb.</i></p>
                </div>
                <div class="control-group">
                  <div class="controls">
                    <input type="submit" value="Upload" class="btn btn-primary">
                    <a class="btn btn-default" href="<?= base_url() ?>masterprofile">Cancel</a>
                  </div>
                </div>
              </fieldset>
            </form>
        </div>
    </div>
</div>
